<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="/static/bootstrap-3.3.7/css/bootstrap.css">
    <title>编辑书籍信息</title>
</head>
<body>
<div class="container ">
    <div class="col-md-offset-3 col-md-6">
        <h3 class="text-center">编辑图书</h3>
        <form method="post" novalidate>
            <div class="form-group">
                <label for="title">书名</label>
                <input name="title" type="text" id="title" class="form-control" value="{{ book.title }}"/>
            </div>

            <div class="form-group">
                <label for="author">作者</label>
                <input name="author" type="text" id="author" class="form-control" value="{{ book.author }}"/>
            </div>
            <div class="form-group">
                <label for="price">价格</label>
                <input name="price" type="text" id="price" class="form-control" value="{{ book.price }}"/>
            </div>
            <input name="id" type="text" value="{{ book.id}}" class="hidden"/>
            <input type="submit" class="btn btn-success" value="提交">
        </form>
    </div>
</div>

</body>
</html>